package cn.bluethink.zentao.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

 

/**
 * 用户实体
 * 
 * @author 苏州中科蓝迪公司所有(c)2016-2021
 * @version 0.2.0
 * @brief zentao
 * @note 修订历史： 1、liuxn于2018/12/11 修订用户实体类
 */
@Table(name = "zt_user")
public class ZtUserEntity implements Serializable {

	private static final long serialVersionUID = 9003453447054880416L;

	/**
	 * 用户Id
	 */
	@Id
	@Column(name = "id")
	private Long id;

	/**
	 * 用户账号
	 */
	private String account;
	
	/**
	 * 用户名
	 */
	@Column(name = "realname")
	private String name;

	/**
	 * 用户头像
	 */
	private String avatar;

	public ZtUserEntity() {

	}

	/**
	 * 禅道用户实体类
	 * 
	 * @param id
	 * @param posOtype
	 * @param posOid
	 */
	public ZtUserEntity(Long id, String name, String avatar) {
		this.id = id;
		this.name = name;
		this.avatar = avatar;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

}
